Metal detector for detecting insertion of a surgical device into a hollow tube

ABSTRACT

Apparatus, systems, and methods for detecting the presence of a metallic surgical instrument. A metal detector for detecting insertion of a metallic surgical device into a hollow tube may include a switch, resonant circuit and a controller. The resonant circuit has a capacitor and a coil mounted to the hollow tube. The controller turn on the switch for a preselected time to temporarily provide a current to the resonant circuit and analyzes a resulting decaying voltage waveform originating from the resonant circuit when the switch is turned off in order to determine the presence and longitudinal depth of the metallic surgical device in the hollow tube.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is a continuation of U.S. patent application Ser. No. 17/095,143 filed on Nov. 11, 2020, which is a continuation of U.S. Ser. No. 15/068,845 filed on Mar. 14, 2016 (published as U.S. Pat. Pub. No. 2017-0261348), which is hereby incorporated by reference in its entirety for all purposes.

TECHNICAL FIELD

The present invention relates to metal detectors, systems, and methods, and in particular, metal detectors for detecting a metallic surgical instrument.

BACKGROUND OF THE INVENTION

Conventional metal detectors use a power-consuming resonance circuit which is always turned on, and detects the change in electromagnetic properties, e.g., a Q value, of an inductor in the resonance circuit. When a piece of metal is near the resonance circuit, the metal detector will detect the change in Q-value to determine whether a metal has been found.

One problem with such a conventional metal detector is that because the resonant circuit is always on, the detector can waste a substantial amount of power. In the context of performing medical procedures using a portable robot, it is important to use as little power as possible. Therefore, there is a need to provide a device and method for more efficiently detecting the presence of metal.

SUMMARY

According to one aspect of the present invention, a metal detector for detecting insertion of a metallic surgical device into a hollow tube is provided. The metal detector includes a switch, resonant circuit and a controller. The resonant circuit includes a capacitor and a coil connected to the capacitor in parallel. The coil is mounted to the hollow tube. The controller is adapted to turn on the switch for a preselected time to temporarily provide a current to the resonant circuit and analyzes a resulting decaying voltage waveform originating from the resonant circuit when the switch is turned off in order to determine the presence of the metallic surgical device in the hollow tube.

According to another aspect of the present invention, a method of detecting insertion of a metallic surgical device into a hollow tube is provided. Initially, a power supply is connected to a resonant circuit having a capacitor and an inductor mounted to the hollow tube. After a preselected time period, the power supply is disconnected from the resonant circuit. Once the power supply is disconnected, the resonant circuit generates a decaying waveform. The decaying waveform has a different shape depending on whether a metallic surgical device has been inserted into the hollow tube or not. The presence of the metallic surgical device in the hollow tube is then determined based on the generated decaying waveform.

By providing current to the resonant circuit for only a short period of time, the present invention advantageously saves power. Moreover, the ability to adjust the switch-on period allows for various pre-charge levels of the inductor, or the volt-second product, or the flux.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an embodiment of an automated medical system.

FIG. 2 illustrates an embodiment of a robot support system.

FIG. 3 illustrates an embodiment of a camera tracking system.

FIG. 4 illustrates an embodiment of a SCARA with end effector.

FIG. 5 illustrates an embodiment of a medical operation in which a robot support system and a camera system are disposed around a patient.

FIG. 6 illustrates an embodiment of an end effector.

FIG. 7 illustrates an embodiment of a cut away of an end effector.

FIG. 8 illustrates an embodiment of a perspective view of an end effector cut away.

FIG. 9 illustrates an embodiment of a schematic of software architecture used in an automated medical system.

FIG. 10 illustrates an embodiment of a C-Arm imaging device.

FIG. 11 illustrates an embodiment of an imaging device.

FIG. 12 illustrates an embodiment of a gravity well for a medical procedure.

FIG. 13 illustrates an embodiment of an end effector tool moving toward a gravity well.

FIG. 14 illustrates an embodiment of an end effector tool positioned along a gravity well.

FIG. 15 illustrates a portion of the end effector tool having a hollow tube and positioning of a coil in a metal detector according to one aspect of the present invention.

FIG. 16 is a schematic diagram of a waveform generator according to an aspect of the present invention.

FIG. 17 is a schematic diagram of a controller for detecting a metal object, such as an instrument positioned in the tube portion of the end effector tool according to an aspect of the present invention.

FIG. 18 is an exemplary decaying waveform of the waveform generator.

FIG. 19 illustrates several decaying waveforms from the waveform generator which may represent the depth of insertion of the metal object into the hollow tube.

FIG. 20 is a graph of inductance values as a function of the first peak voltage of several decaying waveforms.

FIG. 21 is a flowchart of a method of performing metal detection and depth determination according to one aspect of the present invention.

FIG. 22 is a graph of Q values as a function of the depth of insertion of the metal object into the hollow tube.

DETAILED DESCRIPTION OF THE INVENTION

Briefly, the metal detection system of the present invention switches on a resonant circuit for a very short period of time to provide current to the inductor positioned around the hollow tube and then analyzes the resulting decaying waveform once the current to the inductor is shut off. The naturally oscillating decaying waveform can be analyzed to detect whether a metal object is inside the hollow tube. Moreover, the decaying waveform can also be used to determine the depth of insertion of the metal object inside the hollow tube.

The present technique has several advantages over conventional methods. First, very little energy is required since a small initial energy is required to obtain a relatively high signal-to-noise ratio (SNR) and inductance sensitivity. Second, the initial energy is easily adjusted by adjusting the on-time of the switch SW1. This sets the initial flux in the inductor L, which in turn, allows for variable sensitivities. This can dynamically change any required inductive sensitivity, should the resonant circuit be in an electrically harsh environment. The frequency of the excitation, or ringing of the coil, may also dynamically be adjusted so that more samples can be taken. These values can then be averaged to obtain better SNR.

FIGS. 1-14 describe robotic systems that can incorporate the present metal detector which will be described with reference to FIGS. 15-22 .

FIG. 1 illustrates an embodiment of an automated medical system 2. Prior to performance of an invasive medical procedure, a three-dimensional (“3D”) image scan may be taken of a desired surgical area of a patient and sent to a computer platform in communication with an automated medical system 2. In some embodiments, a physician may then program a desired point of insertion and trajectory for a surgical instrument to reach a desired anatomical target within or upon the body of the patient. In some embodiments, the desired point of insertion and trajectory may be planned on the 3D image scan, which in some embodiments, may be displayed on a display. In some embodiments, a physician may plan the trajectory and desired insertion point (if any) on a computed tomography scan (hereinafter referred to as “CT scan”) of the patient. In some embodiments, the CT scan may be an isocentric C-arm type scan, or any other similar type scan, or intraoperative CT scan as is known in the art. However, in some embodiments, any known 3D image scan may be used in accordance with the embodiments of automated medical system 2.

A medical procedure may begin with automated medical system 2 moving from medical storage to a medical procedure room. Automated medical system 2 may be maneuvered through doorways, halls, and elevators to reach a medical procedure room. Within the room, automated medical system 2 may be physically separated into two separate and distinct systems, a robot support system 4 and a camera tracking system 6. Robot support system 4 may be positioned adjacent the patient at any suitable location to properly assist medical personnel. Camera tracking system 6 may be positioned at the base of the patient or any other location suitable to track movement of robot support system 4 and the patient. Robot support system 4 and camera tracking system 6 may be powered by an onboard power source and/or plugged into an external wall outlet.

Automated medical system 2, as illustrated in FIG. 1 , may assist surgeons and doctors during medical procedures. Automated medical system 2 may assist surgeons and doctors by holding tools, aligning tools, using tools, guiding tools, and/or positioning tools for use. In embodiments, as illustrated in FIG. 1 , automated medical system 2 may comprise of a robot support system 4 and a camera tracking system 6. Both systems may be coupled together by any suitable means. Suitable means may be, but are not limited to mechanical latches, ties, clamps, buttresses, magnetic and/or magnetic surfaces. The ability to combine robot support system 4 and camera tracking system 6 may allow for automated medical system 2 to maneuver and move as a single unit. This combination may allow automated medical system 2 to have a small footprint in an area, allow easier movement through narrow passages and around turns, and allow and storage within a smaller area.

Robot support system 4 may be used to assist a surgeon by orienting, positioning, holding and/or using tools during a medical procedure. To properly utilize, position, and/or hold tools, robot support system 4 may rely on a plurality of motors, computers, and/or actuators to function properly. Illustrated in FIG. 1 , robot body 8 may act as the structure in which the plurality of motors, computers, and/or actuators may be secured within robot support system 4. Robot body 8 may also provide support for robot telescoping support arm 16. In embodiments, robot body 8 may be made of any suitable material. Suitable material may be, but is not limited to, metal such as titanium, aluminum, or stainless steel, carbon fiber, fiberglass, or heavy-duty plastic. The size of robot body 8 may provide a solid platform on which other components may connect and operate. Robot body 8 may house, conceal, and protect the plurality of motors, computers, and/or actuators that may operate attached components.

Robot base 10 may act as a lower support for robot support system 4. In embodiments, robot base 10 may support robot body 8 and may attach robot body 8 to a plurality of powered wheels 12. This attachment to the wheels may allow robot body 8 to move in space efficiently. Robot base 10 may run the length and width of robot body 8. Robot base 10 may be about an two inches to about ten inches tall. Robot base 10 may be made of any suitable material. Suitable material may be, but is not limited to, metal such as titanium, aluminum, or stainless steel, carbon fiber, fiberglass, or heavy-duty plastic or resin. Robot base 10 may cover, protect, and support powered wheels 12.

In embodiments, as illustrated in FIG. 1 , at least one powered wheel 12 may be attached to robot base 10. Powered wheels 12 may attach to robot base 10 at any location. Each individual powered wheel 12 may rotate about a vertical axis in any direction. A motor may be disposed above, within, or adjacent to powered wheel 12. This motor may allow for automated medical system 2 to maneuver into any location and stabilize and/or level automated medical system 2. A rod, located within or adjacent to powered wheel 12, may be pressed into a surface by the motor. The rod, not pictured, may be made of any suitable metal to lift automated medical system 2. Suitable metal may be, but is not limited to, stainless steel, aluminum, or titanium. Additionally, the rod may comprise at the contact surface-side end a buffer, not pictured, which may prevent the rod from slipping and/or create a suitable contact surface. The material may be any suitable material to act as a buffer. Suitable material may be, but is not limited to, a plastic, neoprene, rubber, or textured metal. The rod may lift powered wheel 10, which may lift automated medical system 2, to any height required to level or otherwise fix the orientation of the automated medical system 2 in relation to a patient. The weight of automated medial system 2, supported through small contact areas by the rod on each wheel, prevents automated medical system 2 from moving during a medical procedure. This rigid positioning may prevent objects and/or people from moving automated medical system 2 by accident.

Moving automated medical system 2 may be facilitated using robot railing 14. Robot railing 14 provides a person with the ability to move automated medical system 2 without grasping robot body 8. As illustrated in FIG. 1 , robot railing 14 may run the length of robot body 8, shorter than robot body 8, and/or may run longer the length of robot body 8. Robot railing 14 may be made of any suitable material, but is not limited to, metal such as titanium, aluminum, or stainless steel, carbon fiber, fiberglass, or heavy-duty plastic. Robot railing 14 may further provide protection to robot body 8, preventing objects and or personnel from touching, hitting, or bumping into robot body 8.

Robot body 8 may provide support for a Selective Compliance Articulated Robot Arm, hereafter referred to as a “SCARA.” A SCARA 24 may be beneficial to use within the automated medical system due to the repeatability and compactness of the robotic arm. The compactness of a SCARA may provide additional space within a medical procedure, which may allow medical professionals to perform medical procedures free of excess clutter and confining areas. SCARA 24 may comprise robot telescoping support 16, robot support arm 18, and/or robot arm 20. Robot telescoping support 16 may be disposed along robot body 8. As illustrated in FIG. 1 , robot telescoping support 16 may provide support for the SCARA 24 and display 34. In embodiments, robot telescoping support 16 may extend and contract in a vertical direction. Robot telescoping support 16 may be made of any suitable material, but not limited to, metal such as titanium or stainless steel, carbon fiber, fiberglass, or heavy-duty plastic. The body of robot telescoping support 16 may be any width and/or height in which to support the stress and weight placed upon it. In embodiments, medical personnel may move SCARA 24 through a command submitted by the medical personnel. The command may originate from input received on display 34 and/or a tablet. The command may come from the depression of a switch and/or the depression of a plurality of switches. Best illustrated in FIGS. 4 and 5 , an activation assembly 60 may comprise a switch and/or a plurality of switches. The activation assembly 60 may be operable to transmit a move command to the SCARA 24 allowing an operator to manually manipulate the SCARA 24. When the switch, or plurality of switches, is depressed the medical personnel may have the ability to move SCARA 24 easily. Additionally, when the SCARA 24 is not receiving a command to move, the SCARA 24 may lock in place to prevent accidental movement by personnel and/or other objects. By locking in place, the SCARA 24 provides a solid platform upon which an end effector 22 and end effector tool 26 may be used during a medical operation.

Robot support arm 18 may be disposed on robot telescoping support 16 by any suitable means. Suitable means may be, but is not limited to, nuts and bolts, ball and socket fitting, press fitting, weld, adhesion, screws, rivets, clamps, latches and/or any combination thereof. In embodiments, best seen in FIGS. 1 and 2 , robot support arm 18 may rotate in any direction in regard to robot telescoping support 16. Robot support arm 18 may rotate three hundred and sixty degrees around robot telescoping support 16. Robot arm 20 may connect to robot support arm 18 at any suitable location. Robot arm 20 may attach to robot support arm 16 by any suitable means. Suitable means may be, but is not limited to, nuts and bolts, ball and socket fitting, press fitting, weld, adhesion, screws, rivets, clamps, latches and/or any combination thereof. Robot arm 20 may rotate in any direction in regards to robot support arm 18, in embodiments, robot arm 20 may rotate three hundred and sixty degrees in regards to robot support arm 18. This may allow an operator to position robot arm 20 as desired.

End effector 22 may attach to robot arm 20 in any suitable location. End effector 22 may attach to robot arm 20 by any suitable means. Suitable means may be, but is not limited to, latch, clamp, nuts and bolts, ball and socket fitting, press fitting, weld, screws, and/or any combination thereof. End effector 22 may move in any direction in relation to robot arm 20. This may allow a user to move end effector 22 to a desired area. An end effector tool 26, as illustrated in FIG. 4 may attach to end effector 22. End effector tool 26 may be any tool selected for a medical procedure. In some embodiments, the end effector tool 26 includes a tube portion have a hollow tube 27 extending therethrough. The hollow tube 27 is sized and configured to receive at least a portion of a surgical instrument. The hollow tube 27 is configured to be oriented by the robot arm 20 such that insertion and trajectory for the surgical instrument is able to reach a desired anatomical target within or upon the body of the patient. The surgical instrument may include at least a portion of a generally cylindrical instrument. By way of example, the surgical instrument may include one or more of a guide wire, cannula, a retractor, a drill, a reamer, a screw driver, an insertion tool, a removal tool, or the like. Although the hollow tube 27 is generally shown as having a cylindrical configuration, it will be appreciated by those of skill in the art that the hollow tube 27 may have any suitable shape, size and configuration desired to accommodate the surgical instrument and access the surgical site. End effector tool 26 may be disposed and removed from end effector 22. In embodiments, end effector tool 26 may have a dynamic reference array 52. Dynamic reference arrays 52, herein referred to as “DRAs”, are rigid bodies which may be disposed on a patient and/or tool in a navigated surgical procedure. Their purpose may be to allow 3D localization systems to track the positions of tracking markers that are embedded in the DRA 52, and thereby track the real-time position of relevant anatomy. Radio-opaque markers may be seen, recorded, and/or processed by camera 46. This tracking of 3D coordinates of tracking markers may allow automated medical system 2 to find the DRA 52 in any space in relation to a patient 50.

As illustrated in FIG. 1 , a light indicator 28 may be positioned on top of the SCARA 24. Light indicator 28 may illuminate as any type of light to indicate “conditions” in which automated medical system 2 is currently operating. For example, the illumination of green may indicate that all systems are normal. Illuminating red may indicate that automated medical system 2 is not operating normally. A pulsating light may mean automated medical system 2 is performing a function. Combinations of light and pulsation may create a nearly limitless amount of combinations in which to communicate the current operating “conditions.” In embodiments, the light may be produced by LED bulbs, which may form a ring around light indicator 28. Light indicator 28 may comprise a fully permeable material that may let light shine through the entirety of light indicator 28. In embodiments, light indicator 28 may only allow a ring and/or designated sections of light indicator 28 to allow light to pass through.

Light indicator 28 may be attached to lower display support 30. Lower display support 30, as illustrated in FIG. 2 may allow an operator to maneuver display 34 to any suitable location. Lower display support 30 may attach to light indicator 28 by any suitable means. Suitable means may be but is not limited to, latch, clamp, nuts and bolts, ball and socket fitting, press fitting, weld, adhesion, screws, rivets, and/or any combination thereof. In embodiments, lower display support 30 may rotate about light indicator 28. In embodiments, lower display support 30 may attach rigidly to light indicator 28. Light indicator 28 may then rotate three hundred and sixty degrees about robot support arm 18. Lower display support 30 may be of any suitable length, a suitable length may be about eight inches to about thirty four inches. Lower display support 30 may act as a base for upper display support 32.

Upper display support 32 may attach to lower display support 30 by any suitable means. Suitable means may be, but are not limited to, latch, clamp, nuts and bolts, ball and socket fitting, press fitting, weld, adhesion, screws, rivets, and/or any combination thereof. Upper display support 32 may be of any suitable length, a suitable length may be about eight inches to about thirty four inches. In embodiments, as illustrated in FIG. 1 , upper display support 32 may allow display 34 to rotate three hundred and sixty degrees in relation to upper display support 32. Likewise, upper display support 32 may rotate three hundred and sixty degrees in relation to lower display support 30.

Display 34 may be any device which may be supported by upper display support 32. In embodiments, as illustrated in FIG. 2 , display 34 may produce color and/or black and white images. The width of display 34 may be about eight inches to about thirty inches wide. The height of display 34 may be about six inches to about twenty two inches wide. The depth of display 34 may be about one half inch to about four inches.

In embodiments, a tablet may be used in conjunction with display 34 and/or without display 34. In embodiments, the table may be disposed on upper display support 32, in place of display 34, and may be removable from upper display support 32 during a medical operation. In addition the tablet may communicate with display 34. The table may be able to connect to robot support system 4 by any suitable wireless and/or wired connection. In embodiments, the tablet may be able to program and/or control automated medical system 2 during a medical operation. When controlling automated medical system 2 with the tablet, all input and output commands may be duplicated on display 34. The use of a tablet may allow an operator to manipulate robot support system 4 without having to move around patient 50 and/or to robot support system 4.

As illustrated in FIG. 5 , camera tracking system 6 may work in conjunction with robot support system 4. Described above, camera tracking system 6 and robot support system 4 may be able to attach to each other. Camera tracking system 6, now referring to FIG. 1 , may comprise similar components of robot support system 4. For example, camera body 36 may provide the functionality found in robot body 8. Robot body 8 may provide the structure upon which camera 46 may be mounted. The structure within robot body 8 may also provide support for the electronics, communication devices, and power supplies used to operate camera tracking system 6. Camera body 36 may be made of the same material as robot body 8. Camera tracking system 6 may also communicate with robot support system 4 by any suitable means. Suitable means may be, but are not limited to, a wired or wireless connection. Additionally, camera tracking system 6 may communicate directly to the table by a wireless and/or wired connection. This communication may allow the tablet to control the functions of camera tracking system 6.

Camera body 36 may rest upon camera base 38. Camera base 38 may function as robot base 10. In embodiments, as illustrated in FIG. 1 , camera base 38 may be wider than robot base 10. The width of camera base 38 may allow for camera tracking system 6 to connect with robot support system 4. As illustrated in FIG. 1 , the width of camera base 38 may be large enough to fit outside robot base 10. When camera tracking system 6 and robot support system 4 are connected, the additional width of camera base 38 may allow automated medical system 2 additional maneuverability and support for automated medical system 2.

As with robot base 10, a plurality of powered wheels 12 may attach to camera base 38. Powered wheel 12 may allow camera tracking system 6 to stabilize and level or set fixed orientation in regards to patient 50, similar to the operation of robot base 10 and powered wheels 12. This stabilization may prevent camera tracking system 6 from moving during a medical procedure and may keep camera 46 from losing track of DRA 52 within a designated area. This stability and maintenance of tracking may allow robot support system 4 to operate effectively with camera tracking system 6. Additionally, the wide camera base 38 may provide additional support to camera tracking system 6. Specifically, a wide camera base 38 may prevent camera tracking system 6 from tipping over when camera 46 is disposed over a patient, as illustrated in FIG. 5 . Without the wide camera base 38, the outstretched camera 46 may unbalance camera tracking system 6, which may result in camera tracking system 6 falling over.

Camera telescoping support 40 may support camera 46. In embodiments, telescoping support 40 may move camera 46 higher or lower in the vertical direction. Telescoping support 40 may be made of any suitable material in which to support camera 46. Suitable material may be, but is not limited to, metal such as titanium, aluminum, or stainless steel, carbon fiber, fiberglass, or heavy-duty plastic. Camera handle 48 may be attached to camera telescoping support 40 at any suitable location. Cameral handle 48 may be any suitable handle configuration. A suitable configuration may be, but is not limited to, a bar, circular, triangular, square, and/or any combination thereof. As illustrated in FIG. 1 , camera handle 48 may be triangular, allowing an operator to move camera tracking system 6 into a desired position before a medical operation. In embodiments, camera handle 48 may be used to lower and raise camera telescoping support 40. Camera handle 48 may perform the raising and lowering of camera telescoping support 40 through the depression of a button, switch, lever, and/or any combination thereof.

Lower camera support arm 42 may attach to camera telescoping support 40 at any suitable location, in embodiments, as illustrated in FIG. 1 , lower camera support arm 42 may rotate three hundred and sixty degrees around telescoping support 40. This free rotation may allow an operator to position camera 46 in any suitable location. Lower camera support arm 42 may be made of any suitable material in which to support camera 46. Suitable material may be, but is not limited to, metal such as titanium, aluminum, or stainless steel, carbon fiber, fiberglass, or heavy-duty plastic. Cross-section of lower camera support arm 42 may be any suitable shape. Suitable cross-sectional shape may be, but is not limited to, circle, square, rectangle, hexagon, octagon, or i-beam. The cross-sectional length and width may be about one to ten inches. Length of the lower camera support arm may be about four inches to about thirty-six inches. Lower camera support arm 42 may connect to telescoping support 40 by any suitable means. Suitable means may be, but is not limited to, nuts and bolts, ball and socket fitting, press fitting, weld, screws, and/or any combination thereof. Lower camera support arm 42 may be used to provide support for camera 46. Camera 46 may be attached to lower camera support arm 42 by any suitable means. Suitable means may be, but is not limited to, nuts and bolts, ball and socket fitting, press fitting, weld, screws, and/or any combination thereof. Camera 46 may pivot in any direction at the attachment area between camera 46 and lower camera support arm 42. In embodiments a curved rail 44 may be disposed on lower camera support arm 42.

Curved rail 44 may be disposed at any suitable location on lower camera support arm 42. As illustrated in FIG. 3 , curved rail 44 may attach to lower camera support arm 42 by any suitable means. Suitable means may be, but are not limited to nuts and bolts, ball and socket fitting, press fitting, weld, adhesion, screws, rivets, clamps, latches, and/or any combination thereof. Curved rail 44 may be of any suitable shape, a suitable shape may be a crescent, circular, oval, elliptical and/or any combination thereof. In embodiments, curved rail 44 may be any appropriate length. An appropriate length may be about one foot to about six feet. Camera 46 may be moveably disposed along curved rail 44. Camera 46 may attach to curved rail 44 by any suitable means. Suitable means may be, but are not limited to rollers, brackets, braces, motors, and/or any combination thereof. Motors and rollers, not illustrated, may be used to move camera 46 along curved rail 44. As illustrated in FIG. 3 , during a medical procedure, if an object prevents camera 46 from viewing one or more DRAs 52, the motors may move camera 46 along curved rail 44 using rollers. This motorized movement may allow camera 46 to move to a new position that is no longer obstructed by the object without moving camera tracking system 6. While camera 46 is obstructed from viewing DRAs 52, camera tracking system 6 may send a stop signal to robot support system 4, display 34, and/or a tablet. The stop signal may prevent SCARA 24 from moving until camera 46 has reacquired DRAs 52. This stoppage may prevent SCARA 24 and/or end effector 22 from moving and/or using medical tools without being tracked by automated medical system 2.

End effector 22, as illustrated in FIG. 6 , may be used to connect surgical tools to robot support system 4. End effector 22 may comprise a saddle joint 62, an activation assembly 60, a load cell 64, and a tool connection 66. Saddle joint 62 may attach end effector 22 to SCARA 24. Saddle joint 62 may be made of any suitable material. Suitable material may be, but is not limited to metal such as titanium, aluminum, or stainless steel, carbon fiber, fiberglass, or heavy-duty plastic. Saddle joint 62 may be made of a single piece of metal which may provide end effector with additional strength and durability. In examples saddle joint 62 may attach to SCARA 24 by an attachment point 68. There may be a plurality of attachment points 68 disposed about saddle joint 62. Attachment points 68 may be sunk, flush, and/or disposed upon saddle joint 62. In examples, screws, nuts and bolts, and/or any combination thereof may pass through attachment point 68 and secure saddle joint 62 to SCARA 24. The nuts and bolts may connect saddle joint 62 to a motor, not illustrated, within SCARA 24. The motor may move saddle joint 62 in any direction. The motor may further prevent saddle joint 62 from moving from accidental bumps and/or accidental touches by actively servoing at the current location or passively by applying spring actuated brakes. Saddle joint 62 may provide the base upon which a load cell 64 and a tool connection 66 may be disposed.

Load cell 64, as illustrated in FIGS. 7 and 8 may attach to saddle joint 62 by any suitable means. Suitable means may be, but is not limited to, screws, nuts and bolts, threading, press fitting, and/or any combination thereof. Load cell 64 may be any suitable instrument used to detect and measurement movement. In examples, load cell 64 may be a six axis load cell, a three-axis load cell or a uniaxial load cell. Load cell 64 may be used to track the force applied to end effector 22. As illustrated in FIG. 17 , a schematic may show the communication between load cell 64 and a motor 120. In embodiments a load cell 64 may communicate with a plurality of motors 120. As load cell 64 senses pressure, information as to the amount of force applied may be distributed from a switch array 122 and/or a plurality of switch arrays to a microcontroller unit 122. Microcontroller unit 124 may take the force information from load cell 64 and process it with a switch algorithm. The switch algorithm may allow microcontroller unit 124 to communicate with a motor driver 126. A motor driver 126 may control the function of a motor 120, with which motor driver 126 may communicate with. Motor driver 126 may direct specific motors 120 to produce an equal amount of force measured by load cell 64 through motor 120. In embodiments, the force produced may come from a plurality of motors 120, as directed by microcontroller unit 124. Additionally, motor driver 126 may receive input from motion controller 128. Motion controller 128 may receive information from load cell 64 as to the direction of force sensed by load cell 64. Motion controller 128 may process this information using a motion controller algorithm. The algorithm may be used to provide information to specific motor drivers 126. To replicate the direction of force, motion controller 128 may activate and/or deactivate certain motor drivers 126. Working in unison and/or separately, microcontroller unit 124 and motion controller 128 may control motor 120 (or a plurality of motors 120) to induce in the direction the motion and direction of force sensed by load cell 64. This force-controlled motion may allow an operator to move SCARA 24 and end effector 22 effortlessly and/or with very little resistance. Movement of end effector 22 may position tool connection 66 in any suitable location for use by medical personnel.

Tool connection 66 may attach to load cell 64. Tool connection 66 may comprise attachment points 68, a sensory button 70, tool guides 72, and/or tool connections 74. Best illustrated in FIGS. 6 and 8 , there may be a plurality of attachment points 68. Attachment points 68 may connect tool connection 66 to load cell 64. Attachment points 68 may be sunk, flush, and/or disposed upon tool connection 66. Connectors 76 may use attachment points 68 to attach tool connection 66 to load cell 64. In examples, connectors 76 may be screws, nuts and bolts, press fittings, and/or any combination thereof.

As illustrated in FIG. 6 , a sensory button 70 may be disposed about center of tool connection 66. Sensory button 70 may be depressed when an end effector tool 26, best illustrated in FIG. 4 , is connected to end effector 22. Depression of sensory button 70 may alert robot support system 4, and in turn medical personnel, that an end effector tool 26 has been attached to end effector 22. As illustrated in FIG. 6 , tool guides 72 may be used to facilitate proper attachment of end effector tool 26 to end effector 22. Tool guides 72 may be sunk, flush, and/or disposed upon tool connection 66. In examples there may be a plurality of tool guides 72 and may have any suitable patterns and may be oriented in any suitable direction. Tool guides 72 may be any suitable shape to facilitate attachment of end effector tool 26 to end effector 22. A suitable shape may be, but is not limited to, circular, oval, square, polyhedral, and/or any combination thereof. Additionally, tool guides 72 may be cut with a bevel, straight, and/or any combination thereof.

Tool connection 66 may have attachment points 74. As illustrated in FIG. 6 , attachment points 74 may form a ledge and/or a plurality of ledges. Attachment points 74 may provide end effector tool 26 a surface upon which end effector tool 26 may clamp. In examples, attachment points 74 may be disposed about any surface of tool connection 66 and oriented in any suitable manner in relation to tool connection 66.

Tool connection 66 may further serve as a platform for activation assembly 60. Activation assembly 60, best illustrated in FIGS. 6 and 8 , may encircle tool connection 66. In embodiments, activation assembly 60 may take the form of a bracelet. As bracelet, activation assembly 60 may wrap around tool connection 66. In embodiments, activation assembly 60, may be located in any suitable area within automated medical system 2. In examples, activation assembly 60 may be located on any part of SCARA 24, any part of end effector 22, may be worn by medical personnel (and communicate wirelessly), and/or any combination thereof. Activation assembly 60 may be made of any suitable material. Suitable material may be, but is not limited to neoprene, plastic, rugger, gel, carbon fiber, fabric and/or any combination thereof. Activation assembly 60 may comprise of a primary button 78 and a secondary button 80. Primary button 78 and secondary button 80 may encircle the entirety of tool connection 66. Primary button 78 may be a single ridge, as illustrated in FIG. 6 , which may encircle tool connection 66. In examples, primary button 78 may be disposed upon activation assembly 60 along the end farthest away from saddle joint 62. Primary button 78 may be disposed upon primary activation switch 82, best illustrated on FIG. 7 . Primary activation switch 82 may be disposed between tool connection 66 and activation assembly 60. In examples, there may be a plurality of primary activation switches 82, which may be disposed adjacent and beneath primary button 78 along the entire length of primary button 78. Depressing primary button 78 upon primary activation switch 82 may allow an operator to move SCARA 24 and end effector 22. As discussed above, once set in place, SCARA 24 and end effector 22 may not move until an operator programs robot support system 4 to move SCARA 24 and end effector 22, or is moved using primary button 78 and primary activation switch 82. In examples, it may require the depression of at least two non-adjacent primary activation switches 82 before SCARA 24 and end effector 22 will respond to commands. Depression of at least two primary activation switches 82 may prevent the accidental movement of SCARA 24 and end effector 22 during a medical procedure.

Activated by primary button 78 and primary activation switch 82, load cell 64 may measure the force magnitude and/or direction of force exerted upon end effector 22 by medical personnel. This information may be transferred to motors within SCARA 24 that may be used to move SCARA 24 and end effector 22. Information as to the magnitude and direction of force measured by load cell 64 may cause the motors to move SCARA 24 and end effector 22 in the same direction as sensed by load cell 64. This force controlled movement may allow the operator to move SCARA 24 and end effector 22 easily and without large amounts of exertion due to the motors moving SCARA 24 and end effector 22 at the same time the operator is moving SCARA 24 and end effector 22.

Secondary button 80, as illustrated in FIG. 6 , may be disposed upon the end of activation assembly 60 closest to saddle joint 62. In examples secondary button 80 may comprise a plurality of ridges. The plurality of ridges may be disposed adjacent to each other and may encircle tool connection 66. Additionally, secondary button 80 may be disposed upon secondary activation switch 84. Secondary activation switch 84, as illustrated in FIG. 7 , may be disposed between secondary button 80 and tool connection 66. In examples, secondary button 80 may be used by an operator as a “selection” device. During a medical operation, robot support system 4 may notify medical personnel to certain conditions by display 34 and/or light indicator 28. Medical personnel may be prompted by robot support system 4 to select a function, mode, and/or asses the condition of automated medical system 2. Depressing secondary button 80 upon secondary activation switch 84 a single time may activate certain functions, modes, and/or acknowledge information communicated to medical personnel through display 34 and/or light indicator 28. Additionally, depressing secondary button 80 upon secondary activation switch 84 multiple times in rapid succession may activate additional functions, modes, and/or select information communicated to medical personnel through display 34 and/or light indicator 28. In examples, at least two non-adjacent secondary activation switches 84 may be depressed before secondary button 80 may function properly. This requirement may prevent unintended use of secondary button 80 from accidental bumping by medical personnel upon activation assembly 60. Primary button 78 and secondary button 80 may use software architecture 86 to communicate commands of medical personnel to automated medical system 2.

FIG. 9 illustrates a flow chart of software architecture 86 which may be used within automated medical system 2. Software architecture 86 may be used to automated robot support system 4 and camera tracking system 6. Additionally, software architecture 86 may allow an operator to manipulate automated medical system 2 based upon commands given from the operator. In examples, operator commands may comprise Picture Archival and Communication Systems (PACS) 88 (which may communicate with automated imaging system 104, discussed below), USB Devices 90, and commands from tablet 54. These operator commands may be received and transferred throughout automated medical system 2 by a computer processor 92. Computer processor 92 may be able to receive all commands and manipulate automated medical system 2 accordingly. In examples, computer processor 92 may be able to control and identify the location of individual parts that comprise automated medical system 2. Communicating with camera tracking system 6 and display 34, computer processor 92 may be able to locate a patient, end effector 22, and robot support system 4 in a defined space (e.g., illustrated in FIG. 5 ). Additionally, computer processor 92 may be able to use commands from display 34 and camera tracking system 6 to alter the positions of SCARA 24. Information from load cell 64, based upon measured force magnitude and direction, may be processed by computer processor 92 and sent to motors within SACARA 24, as discussed above. A General Algebraic Modeling System (GAMS) 94 may translate information regarding force magnitude from load cell 64 to electronic signals which may be useable by computer processor 92. This translation may allow computer processor 92 to track the location and movement of robot support system 4 in a defined space when SCARA 24 and end effector 22 are moving. Computer processor 92 may further use firmware 96 to control commands and signals from robot body 8. Firmware 96 may comprise commands that are hardwired to automated medical system 2. For example, computer processor 92 may require power from power supply 98 to operate. Firmware 96 may control the distribution of power from power supply 98 to automated medical system 2. Additionally, computer processor 92 may control firmware 96 and the power distribution based on operator commands. In examples, firmware 96 may communicate with light indicator 28, powered wheels 12, and platform interface 100. Platform interface 100 may be a series of hardwired button commands that directly control automated medical system 2. Buttons commands are not limited to but may comprise functions that may move automated medical system 2 in any direction, initiate an emergency stop, initiate movement of SCARA 24, and/or communicate current system functionality to medical personnel. Computer processor 92 may process and distribute all operator commends to perform programmed tasks by medical personnel.

Automated imaging system 104 may be used in conjunction with automated medical system 2 to acquire pre-operative, intra-operative, post-operative, and/or real-time image data of patient 50. Any appropriate subject matter may be imaged for any appropriate procedure using automated imaging system 104. In embodiments, automated imaging system 104 may be an any imaging device such as imaging device 106 and/or a C-arm 108 device. It may be desirable to take x-rays of patient 50 from a number of different positions, without the need for frequent manual repositioning of patient 50 which may be required in an x-ray system. C-arm 108 x-ray diagnostic equipment may solve the problems of frequent manual repositioning and may be well known in the medical art of surgical and other interventional procedures. As illustrated in FIG. 10 , a C-arm 108 may comprise an elongated C-shaped member 110 terminating in opposing distal ends 112 of the “C” shape. C-shaped member 110 may further comprise an x-ray source 114 and an image receptor 116, which may be mounted at or near distal ends 112, respectively, of C-arm 108 in opposing orientation, with C-arm 108 supported in a suspended position. The space within C-arm 108 of the arm may provide room for the physician to attend to the patient substantially free of interference from x-ray support structure 118. X-ray support structure 118 may rest upon wheels 120, which may enable C-arm 108 to be wheeled from room to room and further along the length of patient 50 during a medical procedure. X-ray images produced from C-arm 108 may be used in an operating room environment to help ensure that automated medial system 2 may be properly positioned during a medical procedure.

C-arm 108 may be mounted to enable rotational movement of the arm in two degrees of freedom, (i.e. about two perpendicular axes in a spherical motion). C-arm 108 may be slidably mounted to x-ray support structure 118, which may allow orbiting rotational movement of C-arm 108 about its center of curvature, which may permit selective orientation of x-ray source 114 and image receptor 116 vertically and/or horizontally. C-arm 108 may also be laterally rotatable, (i.e. in a perpendicular direction relative to the orbiting direction to enable selectively adjustable positioning of x-ray source 114 and image receptor 116 relative to both the width and length of patient 50). Spherically rotational aspects of C-arm 108 apparatus may allow physicians to take x-rays of patient 50 at an optimal angle as determined with respect to the particular anatomical condition being imaged. In embodiments a C-arm 108 may be supported on a wheeled support cart 120. In embodiments imaging device 106 may be used separately and/or in conjunction with C-arm 108.

An imaging device 106, as illustrated in FIG. 11 , may comprise a gantry housing 124, which may enclose an image capturing portion, not illustrated. The image capturing portion may include an x-ray source and/or emission portion and an x-ray receiving and/or image receiving portion, which may be disposed about one hundred and eighty degrees from each other and mounted on a rotor (not illustrated) relative to a track of the image capturing portion. The image capturing portion may be operable to rotate three hundred and sixty degrees during image acquisition. The image capturing portion may rotate around a central point and/or axis, allowing image data of patient 50 to be acquired from multiple directions or in multiple planes.

In embodiments imaging device 106 may comprises a gantry housing 124 having a central opening 126 for positioning around an object to be imaged, a source of radiation that is rotatable around the interior of gantry housing 124, which may be adapted to project radiation from a plurality of different projection angles. A detector system may be adapted to detect the radiation at each projection angle to acquire object images from multiple projection planes in a quasi-simultaneous manner. In embodiments, a gantry may be attached to a support structure imaging device support structure 128, such as a wheeled mobile cart 130 with wheels 132, in a cantilevered fashion. A positioning unit 134 may translate and/or tilt the gantry to a desired position and orientation, preferably under control of a computerized motion control system. The gantry may include a source and detector disposed opposite one another on the gantry. The source and detector may be secured to a motorized rotor, which may rotate the source and detector around the interior of the gantry in coordination with one another. The source may be pulsed at multiple positions and orientations over a partial and/or full three hundred and sixty degree rotation for multi-planar imaging of a targeted object located inside the gantry. The gantry may further comprise a rail and bearing system for guiding the rotor as it rotates, which may carry the source and detector. Both and/or either imaging device 106 and C-arm 108 may be used as automated imaging system 104 to scan patient 50 and send information to automated medical system 2.

Automated imaging system 104 may communicate with automated medical system 2 before, during, and/or after imaging has taken place. Communication may be performed through hard wire connections and/or wireless connections. Imaging may be produced and sent to automated medical system 2 in real time. Images captured by automated imaging system 104 may be displayed on display 34, which may allow medical personal to locate bone and organs within a patient. This may further allow medical personnel to program automated medial system 2 to assist during a medical operation.

During a medical operation, medical personnel may program robot support system 4 to operate within defined specifications. For examples, as illustrated in FIG. 12 , a patient 50 may have a medical procedure performed upon the spine. Medical personnel may use imaging equipment to locate and find the spine, as detailed above. Using the images, an operator may upload the information regarding the location of the spine into automated medical system 2. Automated medical system 2 may then track, locate, and move end effector tools 26 to areas specified by the operator. In an example, a gravity well 102 and/or a plurality of gravity wells 102 may be mapped onto the spine of patient 50, as illustrated in FIG. 12 . Gravity wells 102 may be areas, programmed by an operator, to attract end effector tools 26. These areas may cause SCARA 24 and end effector 22 to move toward the direction, angle, and location programmed by medical personnel.

As illustrated in FIG. 13 , a gravity well 102 indicates, in a virtual space, the angle and location end effector tool 26 may need to be positioned for a medical procedure. End effector tool 26, as illustrated, may be moved by an operator using activation assembly 60, discussed above. As end effector tool 26 moves within the area of gravity well 102, the operator may feel the motors in SCARA 24 being to move end effector tool 26 into the programmed position of gravity well 102. As illustrated in FIG. 14 , gravity well 102 may maneuver end effector tool 26 into the programmed position. In an example, if the operator begins to move end effector tool 26 using activation assembly 60, the operator may feel the motors provide resistance against the movement. The resistance from the motors may not be strong enough resistance to keep end effector tool 26 within gravity well 102. This may be beneficial as it may allow the operator to maneuver end effector tool 26 to additional gravity wells 102. Gravity well 102 may be programmed into automated medical system 2 before the medical operation and/or during the medical operation. This may allow medical personnel to move a gravity well 102 based on the changing conditions of the medical procedure. Gravity wells 102 may allow automated medical system 2 to place end effector tools 26 in the required area quickly, easily, and correctly.

FIG. 15 illustrates a portion of the robot's end effector 22 including the tool portion 26 defining hollow tube 202. In a robot-assisted surgery, a metal object, such as a metallic surgical instrument 204, is inserted into the hollow tube 202. The hollow tube 202 is sized and configured to receive at least a portion of the metallic surgical instrument 204. The metal object may include any suitable surgical instrument 204 known in the art including, but not limited to, a guide wire, a cannula, a retractor, a drill, a reamer, a driver, an insertion tool, a removal tool, or the like. Although the hollow tube 202 is generally shown as having a cylindrical configuration, it will be appreciated by those of skill in the art that the hollow tube 202 may have any suitable shape, size and configuration desired to accommodate the surgical instrument 204 and access the surgical site.

Before the surgical procedure takes place, the hollow tube 202 is configured to be aligned and/or oriented by the robot arm 20 such that insertion and/or trajectory for the surgical instrument 204 is able to reach a desired anatomical target within or upon the body of the patient. Thus, the surgical instrument 204 may be inserted into the hollow tube 202 after operating the robot 4 to achieve this desired alignment and/or orientation for the desired surgical procedure. Preferably, the robotic system is shut down once the metal surgical instrument 204 is inserted through a portion of the hollow tube 202 or through the entire hollow tube 202. Thus, when the metallic surgical instrument 204 is inserted into the tube 202, the presence of the instrument 204 and/or insertion of the instrument 204 should be detected in order to shut off one or more electronic components of the robot 4, such as cameras, infrared detectors, or the like for safety reasons. This safety mechanism ensures that the robot 4, in particular, the robot arm 20, and more particularly, end effector 22, does not move when the metallic surgical instrument 204 is present in the end effector 22. Thus, this automatic shut off system ensures the safety of the patient because the trajectory and orientation of the surgical instrument 204 positioned through tube 202 cannot change during the operation.

In order to detect the presence of a metallic surgical instrument 204 within the tube 202, a sensor may be used. For example, the sensor may be in the form of an inductor coil 206. As shown in FIG. 15 , an inductor coil 206 is positioned around the hollow tube 204. The inductor coil 206 may be positioned either inside or outside of the tube 204. In addition, the inductor coil 206 may be positioned at a suitable location along the length of the tube 202. For example, the coil 206 may be positioned substantially at the longitudinal center of the tube 202. It may be appreciated that the coil 206 may be positioned at another location along the length of the tube 202, e.g., proximate the distal or proximal end.

FIG. 16 is a schematic diagram of a decaying waveform generator 208 according to an aspect of the present invention. A capacitor 210 connected in parallel with the inductor 206 define a resonance circuit of the generator 208. A voltage source Vs provides current to the resonance circuit through a current limiting resistor R1 which is connected in series with a switch SW1. A second resistor R2 is connected between the resonant circuit and an output terminal Vout.

A first clamp diode D1 has an anode connected to ground and a cathode connected to the output terminal Vout. A second clamp diode D2 has an anode connected to the output terminal Vout and a cathode connected to a reference voltage source Vcmp. The switch SW1 is under the control of a controller 240 as shown in FIG. 17 .

Briefly, in operation, when the controller 240 turns on the switch SW1 for a predetermined time period τ, the switch SW1 connects the voltage source Vs to the resonant circuit (206, 210) to allow current from the voltage source Vs to flow into the coil 206 and place an initial voltage Vc across the capacitor 210. This action also sets the initial charge in the inductor L to a value (Vs·τ), where τ is the switch on time.

When the controller 240 turns off the switch SW1, the voltage source Vs is disconnected from the resonant circuit (206, 210) and the voltage across the capacitor 210 starts to oscillate in a decaying manner. The resistor R2 sets the current being provided to the output terminal Vo. The clamping diode D1 ensures that the voltage at the output terminal Vout does not fall substantially below ground. If the capacitor 210 tries to pull the output voltage below zero, the diode D1 turns on and forces the output terminal Vout to ground voltage less the forward biasing voltage (e.g., 0.3 V) of the diode such that the minimum voltage at the output terminal Vout is −0.3 Volt. In effect, the clamping diode D1 acts as a rectifier to provide only a positive voltage to the output terminal Vout.

If, on the other hand, the voltage at the output terminal Vout tries to go above the reference voltage Vcmp, the clamping diode D2 turns on and clamps the output voltage to Vcmp plus the forward biasing voltage (e.g., 0.3 V) of the diode. The reference voltage Vcmp can be set to the maximum voltage permissible (e.g., 5 V) for the controller 240 to make the waveform generator 208 suitable for any number of microcontroller units on the market. Thus, the maximum voltage at the output terminal Vout is 5.3 Volt.

In case the controller 240 fails to turn off the switch SW1, e.g., the controller 240 becomes frozen, the current limiting resistor R1 (e.g., 330 Ohms) ensures that the coil 206 does not become damaged.

Immediately after the switch SW1 is turned off, the resulting decaying waveform at the output terminal Vout is stored in the controller 240. The stored decaying waveform can then be analyzed to determine the effective Q-value of the resonant circuit. In the present configuration, the Q value of the circuit is

${= \frac{\sqrt{L/C}}{ESR}},$

where ESR is the coils “Effective Series Resistance”. The Q value can change depending on both the inductance of the coil, and its ESR, and it is this change in Q that is responsible for the change in decay of the waveform. The effective Q value can be used to determine the presence of a metal object 204 inside the hollow tube 202 and the depth of insertion to determine, for example, whether the metal object has been fully inserted as will be explained in more detail below.

FIG. 17 is a schematic diagram of a controller 240 for detecting the presence of or insertion of a metal object 204 in tube 202 according to an aspect of the present invention.

The controller 240 of the present invention is connected to the output terminal Vout and switch SW1 through a communication link 252 which is connected to an I/O interface 242, which receives information from and sends information over the communication link 252. The controller 240 includes memory storage 244 such as RAM (random access memory), processor (CPU) 246, program storage 248 such as FPGA, ROM or EEPROM, and data storage 250 such as a hard disk, all commonly connected to each other through a bus 253. The program storage 248 stores, among others, metal detection module 254 containing software to be executed by the processor 246.

The metal detection module 254 executed by the processor 246 controls the switch SW1. The module 254 can also control the inductor 206 and capacitor 210 if variable inductor or capacitor were used in order to control the frequency of the decaying waveform.

The metal detection module 254 includes a user interface module that interacts with the user through the display device 211 and input devices such as keyboard 212 and pointing device 214 such as arrow keys, mouse or track ball. The user interface module assists the user in programming the programmable components in the waveform generator 208 and calibration of data as will be explained in more detail herein. Any of the software program modules in the program storage 248 and data from the data storage 250 can be transferred to the memory 244 as needed and is executed by the CPU 246.

An analog-to-digital (A/D) converter 243 is connected to the I/O interface 242. The A/D converter 243 converts the analog decaying waveform at the output terminal Vout into digital data to be stored in the storage 250 by the processor 246.

One exemplary controller 240 may be 8051 microcontroller from Intel Corporation of Santa Clara, Calif. However, any processor or microcontroller that offers an A/D converter can be used.

In one embodiment, parts of or the entire the controller 240 including the input devices 212, 214 and display device 211 can be incorporated into the automated medical system 2 of FIG. 1 . For example, the display 211 can be the same as display 34.

A method of performing metal detection and/or depth determination (e.g., of surgical instrument 204) by the metal detection module 254 will now be explained with reference to FIG. 21 . In step 256, the user interface of the metal detection module 254 interacts with the user in selecting the switch-on time τ, metal detection calculation method, and calibration mode, which are stored in the data storage 250. If the user or the module 254 itself selects the calibration mode, then all of the steps are used to determine an initial Q value (and initial inductance value) without any metal object for storage in the storage 250 for later use in determining the presence and depth of the metal object 204 inside the hollow tube 202.

In step 258, the controller 240 sends a signal through the link 252 to turn on the switch SW1 for a preselected time (e.g., 100 microseconds). The switch SW1 connects the voltage source Vs to the resonant circuit (6,10) and current I_(e) flows through R1. This places an initial voltage Vs across the capacitor 210, and pre-charges the coil 206 to an initial flux level of (Vs·τ). This magnetic charge is then built up in the coil 206 until the switch SW1 turns off. Once the switch SW1 turns off, the resonating current in the resonant circuit outputs a decaying waveform.

In step 260, the decaying waveform at the output terminal Vout is converted into digital data and stored in the storage 250.

In step 262, a Q value of the inductor 206 is calculated by the following methods.

The initial current in the coil 206 may be set by two different methods. The first method is by keeping the switch SW1 closed for a sufficiently long time, allowing I_(e) to settle to

$\frac{v}{\left( {{R1} + {ESR}} \right)}.$

The other method is to keep the switch SW1 on for a “short time” τ setting the initial current to

${\frac{v}{L} \cdot \tau},$

where L is the inductance of the coil 206.

After such initial current is established in the coil 206 and initial voltage across the capacitor 210, SW1 opens and the circuit is allowed to resonate at its own natural frequency as a decaying voltage waveform at the capacitor 210. The voltage across the capacitor 210 may be monitored to calculate what the Q value of the coil 206 is. The relationship between the time domain voltage across the capacitor (V_(c)(t)) and the coil's inductance L is realized in equation 1:

$\begin{matrix} {{V_{c}(t)} = {{\frac{v \cdot \omega_{0}^{2} \cdot e^{{- \gamma} \cdot t}}{\gamma^{2} + \omega_{n}^{2}} \cdot \left\lbrack {{\left( {\gamma - {\tau \cdot \gamma^{2}} - {\tau \cdot \omega_{n}^{2}}} \right) \cdot {\sin\left( {\omega_{n} \cdot t} \right)}} + {\omega_{n} \cdot {\cos\left( {\omega_{n} \cdot t} \right)}}} \right\rbrack} - {v \cdot \frac{\omega_{0}^{2} - \gamma^{2} - \omega_{n}^{2}}{\gamma^{2} + \omega_{n}^{2}}}}} & (1) \end{matrix}$ Where: ${\gamma = {\frac{1}{2} \cdot \frac{R_{ESR}}{L}}},$ ${\omega_{0} = \frac{1}{\sqrt{L \cdot C}}},$ $\omega_{n} = \sqrt{{\omega_{0}}^{2} - \gamma^{2}}$

ν=source voltage Vs,

ω₀=natural undamped resonant frequency of coil 206 and capacitor 210,

γ=damping coefficient of coil 206 and capacitor 210, which includes the ESR (Effective Series Resistance) of the coil,

τ=on time of the switch SW1, and

-   ω_(n)=natural resonant frequency.     Note that γ defined above contains both the ESR and the coil's     inductance L, and is therefore directly related to the Q value. The     relationship is:

$\begin{matrix} {Q = {\frac{1}{\omega_{0}} \cdot \frac{1}{2 \cdot \gamma}}} & (2) \end{matrix}$

The voltage across the capacitor 210 produces a current in R2 and a typical waveform produced at the output terminal Vout is shown in FIG. 18 . At t=0, the switch SW1 shuts off. As shown in FIG. 18 , only the first three waves (t2 to t4, t5 to t7 and t8 to t10) in the waveform are shown. The waveform has a first peak voltage at t=t3, second peak at t=t6 and third peak at t=t9.

The decaying waveform may be used in many ways to calculate what the Q value of the coil 206 is. A first method to determine the Q value is to measure the “average value” of the waveform. An average value can be realized by calculating the integral of the area under the waveform over a predetermined number of waves or time period and then dividing by the time interval where the voltage is present. A relationship between the average value and Q value can be determined empirically or by equation (1).

Another way to determine the Q value is to measure one or more of the peak voltages Vout1, Vout2 and Vout3 and their corresponding times t3, t6 and t9. For example, the voltage value at the first peak (i.e., Vout1 in FIG. 17 ) and t=t3 can be determined. From these values, the Q value may be computed from equation (1).

Another way to determine the Q value is to measure the zero crossing voltages that occur at times t2, t4, t5, t7, t8 and t10. From these values, the Q value may be computed from equation (1).

Yet another way to determine the Q value is to measure the signal energy of the waveform over a time “window” by computing the integral of the waveform in the time t₀−t_(n), such that t_(n)>3τ where τ is the time constant of the resonant circuit. From these values, the Q value may be computed from equation (1).

Among those described above, one exemplary embodiment uses the fourth method of integrating over a time window. As the waveform signal is sampled by the A/D converter 243 over some time t, the metal detection module 254 of the controller 240 can compute a sum of the sampled signals as a way to integrate the signal. That sum can be compared or characterized to different values of Q by equation (1) above or empirically. The characterization can be stored in storage as a lookup table which can then be retrieved and used by the metal detection module 254 with interpolation.

In step 264, the metal detection module 254 determines whether the metal object 204 is present in the hollow tube 202. As an example, in one embodiment, assume that the user has selected the first peak voltage determination as the method of obtaining a Q value in step 256. Once the Q value has been obtained from the first peak voltage and t3 values, the metal detection module 254 compares it to a threshold value which has been preselected.

In some cases, the ESR doesn't change much. If this is the case, the Q value is purely a function of the inductance only. FIG. 20 shows a graph of the computed inductance values vs. the voltage values at the first peak value (i.e., Vout1 at t=t3 in FIG. 17 ) once the initial voltage at t=0 falls to ground. Based on the graph, the threshold inductance value can be set at 50 μH below which the metal detection module 254 considers the metal object to be present (e.g., metal object is substantially fully inserted into the tube 202). Alternatively, the graph of FIG. 20 can be converted to a graph of Q values vs. first peak voltage and a Q-value threshold value equivalent to L=50 μH can be stored as the threshold Q value.

Another way to detect the presence is to empirically obtain a threshold Q value (or inductance value) under which the module 254 determines that the metal object 204 is present in the hollow tube 202. This can be done by inserting the metal object 204 into the hollow tube 202 at a user-selected depth and determining the Q value (or inductance value) based on a decaying waveform.

In step 266, the metal detection module 254 determines how deep the metal object 204 is inside the hollow tube 202. One way to determine the depth is to empirically obtain a lookup table of Q values (or inductance values) at various depths for a given metal object 204.

FIG. 19 illustrates several decaying waveforms from the waveform generator 208 which represent the depth of insertion of the metal object 204 into the hollow tube 202. Waveform 270 represents one in which no metal object is present. Waveform 270 equates to the original Q value of Q1 without any metal object insertion. Waveform 272 represent one in which the metal object 204 has been inserted half way, i.e., the distal end of the metal object 204 is at a midpoint between the center of the tube 202 and proximal end of the tube. Waveform 72 equates to Q value of Q2 which is less than Q1. Waveform 274 represent one in which the metal object 204 has been inserted fully, i.e., the distal end of the metal object 204 is at the center of the coil 206. Waveform 274 equates to Q value of Q3 which is less than Q2. Thus, the insertion depth of the metal object 204 is negatively correlated to the Q value.

Based on such empirical data, a lookup table can be prepared. The table equates various Q values to respective distance Δx (i.e., depth). Once the table is obtained, it is stored in the storage 250 and is used by the metal detection module 254 to obtain the depth of insertion of the metal object 204 based on the Q value from step 262.

Another example of a lookup table is shown in FIG. 22 . FIG. 22 shows a graph of Q values as a function of the depth of insertion of the metal object into the hollow tube (distance Δx). The experiment was performed with a 6 mm diameter Ferrite metal object (cylinder) and a 15 mm diameter by 8 mm length coil. The distance Δx represents the distance from the distal end of the metal cylinder and the center of the coil. As can be seen, as the metal cylinder 204 is inserted into the hollow tube 202, the Q value changes. The graph of FIG. 22 can be stored in the storage 250 as a lookup table for retrieval by the metal detection module 254. Interpolation may need to be used if the lookup table is stored as a set of discrete points, rather than an equation.

In step 266, the metal detection module 254 looks up the depth value from the lookup table stored in the storage 250 for a given Q value which was found in step 262. The depth value from the lookup table is generated as the output from the metal detection module 254.

In the embodiment shown, a rectified decaying waveform has been used because it is relatively simple to integrate over the waveform. If a full non-rectified decaying waveform is used, more components will be needed as a simple method of integrating will not work because of the symmetry of the waves.

Although the present invention has been described above with the coil which is positioned at the center of the tube 202, it is possible to position the coil at the proximal end, distal end or anywhere along the tube. It is also possible to use multiple coils that are spaced apart. For example, three coils (respectively positioned at the proximal end, center and distal end) that are uniformly spaced from each other can be used to detect the presence and depth of the metal object inside the hollow tube 202. As can be appreciated, this embodiment can be particularly useful when determining the depth of the metal object (e.g., surgical instrument 204) in the hollow tube 202. If multiple coils are used, it is preferable to separate the on time of the switch SW1 for each inductor coil (e.g., turning on and off the resonant circuit and measuring the inductance value prior to turning on the next resonant circuit) so as to prevent one resonant circuit from interfering with another.

Advantageously, the present invention uses minimum number of components by utilizing the power of a processor such as a microcontroller for the processing of waveforms. The circuit in the form of a waveform generator 208 requires only the switch SW1, capacitor 210 and inductor 206.

Accordingly, before the surgical procedure takes place, the hollow tube 202 is aligned and/or oriented by the robot 4 in order to obtain a desired insertion angle and/or trajectory for the surgical instrument 204. After properly positioned, the surgical instrument 204 may be inserted into the hollow tube 202. In order to ensure the desired alignment, the robotic system is shut down by the presence of the surgical instrument 204 in the tube 202 or at a certain depth therein. Thus, when the surgical instrument 204 is inserted into the tube 202, the mere presence of the instrument 204 triggers an automatic shut off of certain robotic components (e.g., those the control or allow for movement of the robotic arm 20. This automatic shut off ensures the trajectory and orientation of the surgical instrument 204, and thus cannot change during the operation. In order to move, the robot arm 20, the instrument 204 must be removed from the tube 202, thereby ensuring safety of the patient.

Although the invention has been described in detail and with reference to specific embodiments, it will be apparent to one skilled in the art that various changes and modifications can be made without departing from the spirit and scope of the invention. Thus, it is intended that the invention covers the modifications and variations of this invention provided they come within the scope of the appended claims and their equivalents. It is expressly intended, for example, that all ranges broadly recited in this document include within their scope all narrower ranges which fall within the broader ranges. It is also intended that the components of the various devices disclosed above may be combined or modified in any suitable configuration. 

What is claimed is:
 1. An automated medical system comprising: a robot body; a robot arm configured to be supported by the robot body; and an end effector removably attachable to the robot arm, the end effector including a hollow tube and a metal detector for detecting insertion of a metallic surgical device into the hollow tube, wherein the metal detector further includes: a controller connected to a switch and a resonant circuit, and operable to turn on the switch for a preselected time period to temporarily provide a current to the resonant circuit and analyze a decaying voltage waveform originating from the resonant circuit when the switch is turned off to determine a presence of the metallic surgical device in the hollow tube.
 2. The system of claim 1, wherein the metal detector further includes a first clamp diode having an anode connected to ground and a cathode connected to the output terminal to prevent the voltage at the capacitor from falling substantially below ground.
 3. The system of claim 1, wherein the metal detector further includes a second clamp diode having an anode connected to an output terminal and a cathode connected to a reference voltage source to prevent the voltage at the capacitor from rising substantially past the reference voltage.
 4. The system of claim 1, wherein the controller detects the presence of the metallic surgical device inside the hollow tube by determining a Q value from the decaying voltage waveform.
 5. The system claim 1, wherein the controller determines the presence of the metallic surgical device by determining an average value of the waveform.
 6. The system of claim 1, wherein the controller determines the presence of the metallic surgical device by determining the peak value of at least one of the waves in the decaying waveform.
 7. The system of claim 1, wherein the controller determines the presence of the metallic surgical device by determining the times at which the waves in the decaying waveform cross a preselected voltage value.
 8. The system of claim 1, wherein the controller determines the presence of the metallic surgical device by determining a signal energy of the decaying waveform over a preselected time window.
 9. The system of claim 8, wherein the controller determines the presence of the metallic surgical device by determining an integral of the decaying waveform over the preselected time window.
 10. The system of claim 1, wherein the controller determines the longitudinal position of the metallic surgical device inside the hollow tube from the decaying waveform.
 11. An automated medical system comprising: a robot body; a robot arm configured to be supported by the robot body; an end effector removably attachable to the robot arm, the end effector including a hollow tube and a metal detector for detecting insertion of a metallic surgical device into a hollow tube; a camera configured to track the end effector; wherein the metal detector further includes: a controller connected to a switch and a resonant circuit, and operable to turn on the switch for a preselected time period to temporarily provide a current to the resonant circuit and analyze a decaying voltage waveform originating from the resonant circuit when the switch is turned off to determine a presence of the metallic surgical device in the hollow tube.
 12. The system of claim 11, wherein the metal detector further includes a first clamp diode having an anode connected to ground and a cathode connected to the output terminal to prevent the voltage at the capacitor from falling substantially below ground.
 13. The system of claim 11, wherein the metal detector further includes a second clamp diode having an anode connected to an output terminal and a cathode connected to a reference voltage source to prevent the voltage at the capacitor from rising substantially past the reference voltage.
 14. The system of claim 11, wherein the controller detects the presence of the metallic surgical device inside the hollow tube by determining a Q value from the decaying voltage waveform.
 15. The system claim 11, wherein the controller determines the presence of the metallic surgical device by determining an average value of the waveform.
 16. The system of claim 11, wherein the controller determines the presence of the metallic surgical device by determining the peak value of at least one of the waves in the decaying waveform.
 17. The system of claim 11, wherein the controller determines the presence of the metallic surgical device by determining the times at which the waves in the decaying waveform cross a preselected voltage value.
 18. The system of claim 11, wherein the controller determines the presence of the metallic surgical device by determining a signal energy of the decaying waveform over a preselected time window.
 19. The system of claim 18, wherein the controller determines the presence of the metallic surgical device by determining an integral of the decaying waveform over the preselected time window.
 20. The system of claim 11, wherein the controller determines the longitudinal position of the metallic surgical device inside the hollow tube from the decaying waveform. 